ppc: Don't initialize write protected NOR flashes
authorJohn Schmoller <[email protected]>
Wed, 29 Sep 2010 19:05:44 +0000 (14:05 -0500)
committerWolfgang Denk <[email protected]>
Wed, 20 Oct 2010 19:58:16 +0000 (21:58 +0200)
commitc62491d2602b353a815a909e27eec0df9f2c06a2
tree9a3c3c152238319c0a160b51bb901a17617d9d0e
parent7a8ddeea5ed0b80fc83b6ae57ef3e98fc69a92da
ppc: Don't initialize write protected NOR flashes

If a NOR flash is write protected it can not be initialized/detected so
add the ability for boards to skip NOR initialization on bootup.  A
board can skip NOR initialization by implementing the
board_flash_wp_on() function.

Signed-off-by: John Schmoller <[email protected]>
Signed-off-by: Peter Tyser <[email protected]>
CC: [email protected]
Acked-by: Stefan Roese <[email protected]>
arch/powerpc/lib/board.c